﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CBMS.Models;
using System.Data.Objects.DataClasses;
using System.Data.Objects;
using CBMS.Objects;

namespace CBMS.Interfaces
{
    public interface IMemberRepository : IBaseEntityRepository<Member>
    {
        Member GetMemberById(int memberId);
        IList<MemberResultDTO> SearchMembersBySomeCondition(MemberCondition memberCondition, int pageIndex, int pageSize, string sortField, string sortExpression, ref int toTal);
        bool CheckDuplicateMembershipNumber(string membershipNumber);
    }
}